package com.sjh.vo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.ktt.bean.Bis_custom_user;

//现金流水信息表
public class Bis_cash_record {
		private String record_id;//流水编号	varchar(50)
		private String order_id;//订单编号	varchar(50)
		private String custom_user_id;//购买人编号	varchar(50)
		private Integer beauty_num;//美颜币数量	int
		private Double money;//金额	double
		private String pay_way;//支付方式	varchar(10)
		private String cash_type;//流水类型	varchar(10)
		private String record_type;//分类 	varchar(10)
		@DateTimeFormat(pattern="yyyy-MM-dd")
		private Date pay_time;//支付时间  	varchar(10)
		private Bis_custom_user custom_user;// 顾客用户
	    private Bis_bisiness_order  bisiness_order;//订单
	    
		public Date getPay_time() {
			return pay_time;
		}
		public void setPay_time(Date pay_time) {
			this.pay_time = pay_time;
		}
		public Bis_bisiness_order getBisiness_order() {
			return bisiness_order;
		}
		public void setBisiness_order(Bis_bisiness_order bisiness_order) {
			this.bisiness_order = bisiness_order;
		}
		public Bis_custom_user getCustom_user() {
			return custom_user;
		}
		public void setCustom_user(Bis_custom_user custom_user) {
			this.custom_user = custom_user;
		}
		
		public String getRecord_id() {
			return record_id;
		}
		public void setRecord_id(String record_id) {
			this.record_id = record_id;
		}
		public String getOrder_id() {
			return order_id;
		}
		public void setOrder_id(String order_id) {
			this.order_id = order_id;
		}
		public String getCustom_user_id() {
			return custom_user_id;
		}
		public void setCustom_user_id(String custom_user_id) {
			this.custom_user_id = custom_user_id;
		}
		public Integer getBeauty_num() {
			return beauty_num;
		}
		public void setBeauty_num(Integer beauty_num) {
			this.beauty_num = beauty_num;
		}
		public Double getMoney() {
			return money;
		}
		public void setMoney(Double money) {
			this.money = money;
		}
		public String getPay_way() {
			return pay_way;
		}
		public void setPay_way(String pay_way) {
			this.pay_way = pay_way;
		}
		public String getCash_type() {
			return cash_type;
		}
		public void setCash_type(String cash_type) {
			this.cash_type = cash_type;
		}
		public String getRecord_type() {
			return record_type;
		}
		public void setRecord_type(String record_type) {
			this.record_type = record_type;
		}
		
		public Bis_cash_record() {
			super();
			// TODO Auto-generated constructor stub
		}
		public Bis_cash_record(String record_id, String order_id, String custom_user_id, Integer beauty_num,
				Double money, String pay_way, String cash_type, String record_type, Date pay_time) {
			super();
			this.record_id = record_id;
			this.order_id = order_id;
			this.custom_user_id = custom_user_id;
			this.beauty_num = beauty_num;
			this.money = money;
			this.pay_way = pay_way;
			this.cash_type = cash_type;
			this.record_type = record_type;
			this.pay_time = pay_time;
		}
		@Override
		public String toString() {
			return "Bis_cash_record [record_id=" + record_id + ", order_id=" + order_id + ", custom_user_id="
					+ custom_user_id + ", beauty_num=" + beauty_num + ", money=" + money + ", pay_way=" + pay_way
					+ ", cash_type=" + cash_type + ", record_type=" + record_type + ", pay_time=" + pay_time + "]";
		}
		
		
		
}
